#ifndef LASERCONTROL_DUMMY_H
#define LASERCONTROL_DUMMY_H

#include <QObject>
#include <device_base/lasercontrol_base.h>
#include <global_defines.h>

class LaserControlDummy : public LaserControlBase
{
    Q_OBJECT
public:
    explicit LaserControlDummy(LaserControlBase *parent = nullptr);
    void OpenLaser(const SOFTWARESETTINGS mysetting);
    void OpenLaserProcess(const SOFTWARESETTINGS mysetting);
    void CloseLaser();
    void laserTest();

private slots:
    void PortError(const QString &s);
    void laserReceiveResp(const QByteArray response);
    void checkLaser();//Read Alarms
public slots:
    void ReadCaseTemperature();
    void ReadDiodeTemperature();
    void emissionStateCheck();//Read the state of emission

private:
    bool  isOn;
};

#endif // LASERCONTROL_DUMMY_H
